package com.nondo.dean.auth.common.bean;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;

/**
 * project：dean-cloud
 *
 * @author linfeng @ nondo
 * @date 2018/4/23
 */
@JsonIgnoreProperties(ignoreUnknown = true)
public class PositionItem implements Serializable {

    private static final long serialVersionUID = -4274140663908952651L;

    /**
     * 岗位主键
     */
    private Long id;
    /**
     * 公司Id
     */
    @NotNull(message = "公司主键不能为空")
    private Long companyId;

    /**
     * 公司Id
     */
    private String companyName;
    /**
     * 职位名称
     */
    @NotNull(message = "职位名称不能为空")
    private String name;

    private List<Long> companyIds;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getCompanyId() {
        return companyId;
    }

    public void setCompanyId(Long companyId) {
        this.companyId = companyId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public List<Long> getCompanyIds() {
        return companyIds;
    }

    public void setCompanyIds(List<Long> companyIds) {
        this.companyIds = companyIds;
    }

    public String getCompanyName() {
        return companyName;
    }

    public void setCompanyName(String companyName) {
        this.companyName = companyName;
    }
}
